package com.atguigu.jxc.service;

import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.Customer;

import java.util.Map;

public interface CustomerService {
    /**
     * 客户列表分页(带模糊查询）
     * @param page
     * @param rows
     * @param customerName
     * @return
     */
    Map<String, Object> getCustomerList(Integer page, Integer rows, String customerName);

    ServiceVO saveOrUpdateCustomer(Customer customer);

    ServiceVO deleteCustomer(String ids);
}
